package com.kgc.novel.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kgc.novel.domain.entity.BookAdvice;
import com.kgc.novel.domain.param.BookAdviceParam;
import com.kgc.novel.domain.param.BookShelfParam;
import com.kgc.novel.domain.vo.BookAdviceVO;
import com.kgc.novel.domain.vo.BookShelfVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BookAdviceMapper extends BaseMapper<BookAdvice> {
    List<BookAdviceVO> getAllAdvice(BookAdviceParam bookAdviceParam);

    Integer getCountAdvice(@Param("title") String title,
                           @Param("create_time") String create_time,
                           @Param("status") String status);
}
